<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver DS18B20: interface/driver_ds18b20_interface_template.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver DS18B20
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">DS18B20 full function driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('driver__ds18b20__interface__template_8c_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">driver_ds18b20_interface_template.c</div>  </div>
</div><!--header-->
<div class="contents">
<a href="driver__ds18b20__interface__template_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="driver__ds18b20__interface_8h.html">driver_ds18b20_interface.h</a>&quot;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="group__ds18b20__interface__driver.html#gaae02ff3e162c03d6d44c502aa2c7c287">   47</a></span>&#160;uint8_t <a class="code" href="group__ds18b20__interface__driver.html#gaae02ff3e162c03d6d44c502aa2c7c287">ds18b20_interface_init</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;{</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;}</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="group__ds18b20__interface__driver.html#ga03a7158f8be182347f2263bb61efb869">   59</a></span>&#160;uint8_t <a class="code" href="group__ds18b20__interface__driver.html#ga03a7158f8be182347f2263bb61efb869">ds18b20_interface_deinit</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;{</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;}</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="group__ds18b20__interface__driver.html#gab0b723752250505718028cea3bfe2e33">   72</a></span>&#160;uint8_t <a class="code" href="group__ds18b20__interface__driver.html#gab0b723752250505718028cea3bfe2e33">ds18b20_interface_read</a>(uint8_t *value)</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;{</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;}</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="group__ds18b20__interface__driver.html#ga58ec641650609db605a648fc4d9709f0">   85</a></span>&#160;uint8_t <a class="code" href="group__ds18b20__interface__driver.html#ga58ec641650609db605a648fc4d9709f0">ds18b20_interface_write</a>(uint8_t value)</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;{</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;}</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="group__ds18b20__interface__driver.html#ga0fc93e0908a80f48e859cf1aeb8d3136">   95</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ds18b20__interface__driver.html#ga0fc93e0908a80f48e859cf1aeb8d3136">ds18b20_interface_delay_ms</a>(uint32_t ms)</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;{</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    </div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;}</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="group__ds18b20__interface__driver.html#gaffa80ae3f3b868b8acec66e67cd6533b">  105</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ds18b20__interface__driver.html#gaffa80ae3f3b868b8acec66e67cd6533b">ds18b20_interface_delay_us</a>(uint32_t us)</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;{</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    </div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;}</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="group__ds18b20__interface__driver.html#gaf6df67e763bd6dc9cd1f9b3f81a4ba77">  114</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ds18b20__interface__driver.html#gaf6df67e763bd6dc9cd1f9b3f81a4ba77">ds18b20_interface_enable_irq</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;{</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    </div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;}</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="group__ds18b20__interface__driver.html#gae2c7e5e56d2c7c9cbe0708c33b0fa08e">  123</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ds18b20__interface__driver.html#gae2c7e5e56d2c7c9cbe0708c33b0fa08e">ds18b20_interface_disable_irq</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;{</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    </div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;}</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="group__ds18b20__interface__driver.html#gabb823545b537ecf6e62e279baaac6dc4">  133</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ds18b20__interface__driver.html#gabb823545b537ecf6e62e279baaac6dc4">ds18b20_interface_debug_print</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> fmt, ...)</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;{</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    </div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;}</div>
<div class="ttc" id="adriver__ds18b20__interface_8h_html"><div class="ttname"><a href="driver__ds18b20__interface_8h.html">driver_ds18b20_interface.h</a></div><div class="ttdoc">driver ds18b20 interface header file</div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_ga03a7158f8be182347f2263bb61efb869"><div class="ttname"><a href="group__ds18b20__interface__driver.html#ga03a7158f8be182347f2263bb61efb869">ds18b20_interface_deinit</a></div><div class="ttdeci">uint8_t ds18b20_interface_deinit(void)</div><div class="ttdoc">interface bus deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00059">driver_ds18b20_interface_template.c:59</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_ga0fc93e0908a80f48e859cf1aeb8d3136"><div class="ttname"><a href="group__ds18b20__interface__driver.html#ga0fc93e0908a80f48e859cf1aeb8d3136">ds18b20_interface_delay_ms</a></div><div class="ttdeci">void ds18b20_interface_delay_ms(uint32_t ms)</div><div class="ttdoc">interface delay ms</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00095">driver_ds18b20_interface_template.c:95</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_ga58ec641650609db605a648fc4d9709f0"><div class="ttname"><a href="group__ds18b20__interface__driver.html#ga58ec641650609db605a648fc4d9709f0">ds18b20_interface_write</a></div><div class="ttdeci">uint8_t ds18b20_interface_write(uint8_t value)</div><div class="ttdoc">interface bus write</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00085">driver_ds18b20_interface_template.c:85</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_gaae02ff3e162c03d6d44c502aa2c7c287"><div class="ttname"><a href="group__ds18b20__interface__driver.html#gaae02ff3e162c03d6d44c502aa2c7c287">ds18b20_interface_init</a></div><div class="ttdeci">uint8_t ds18b20_interface_init(void)</div><div class="ttdoc">interface bus init</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00047">driver_ds18b20_interface_template.c:47</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_gab0b723752250505718028cea3bfe2e33"><div class="ttname"><a href="group__ds18b20__interface__driver.html#gab0b723752250505718028cea3bfe2e33">ds18b20_interface_read</a></div><div class="ttdeci">uint8_t ds18b20_interface_read(uint8_t *value)</div><div class="ttdoc">interface bus read</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00072">driver_ds18b20_interface_template.c:72</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_gabb823545b537ecf6e62e279baaac6dc4"><div class="ttname"><a href="group__ds18b20__interface__driver.html#gabb823545b537ecf6e62e279baaac6dc4">ds18b20_interface_debug_print</a></div><div class="ttdeci">void ds18b20_interface_debug_print(const char *const fmt,...)</div><div class="ttdoc">interface print format data</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00133">driver_ds18b20_interface_template.c:133</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_gae2c7e5e56d2c7c9cbe0708c33b0fa08e"><div class="ttname"><a href="group__ds18b20__interface__driver.html#gae2c7e5e56d2c7c9cbe0708c33b0fa08e">ds18b20_interface_disable_irq</a></div><div class="ttdeci">void ds18b20_interface_disable_irq(void)</div><div class="ttdoc">interface disable the interrupt</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00123">driver_ds18b20_interface_template.c:123</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_gaf6df67e763bd6dc9cd1f9b3f81a4ba77"><div class="ttname"><a href="group__ds18b20__interface__driver.html#gaf6df67e763bd6dc9cd1f9b3f81a4ba77">ds18b20_interface_enable_irq</a></div><div class="ttdeci">void ds18b20_interface_enable_irq(void)</div><div class="ttdoc">interface enable the interrupt</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00114">driver_ds18b20_interface_template.c:114</a></div></div>
<div class="ttc" id="agroup__ds18b20__interface__driver_html_gaffa80ae3f3b868b8acec66e67cd6533b"><div class="ttname"><a href="group__ds18b20__interface__driver.html#gaffa80ae3f3b868b8acec66e67cd6533b">ds18b20_interface_delay_us</a></div><div class="ttdeci">void ds18b20_interface_delay_us(uint32_t us)</div><div class="ttdoc">interface delay us</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__interface__template_8c_source.html#l00105">driver_ds18b20_interface_template.c:105</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_b31d54d5631803016a26f28213a41162.html">interface</a></li><li class="navelem"><a class="el" href="driver__ds18b20__interface__template_8c.html">driver_ds18b20_interface_template.c</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
